package com.ruoyi.archive.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 退伍红军老战士信息对象 s_retired_red_army
 *
 * @author Allen
 * @date 2021-09-29
 */
@Data
public class SRetiredRedArmy implements Serializable {

    /** $column.columnComment */
    private Long id;

    /** 关联soldier_base_info */
    private Long soldierId;

    /**
     * 参加革命时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "参加革命时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date revolutionDate;

    /** 退伍（离休退休）时间 */
    @Excel(name = "退伍时间")
    private Date retirementDate;

    /** 原单位 */
    @Excel(name = "原单位")
    private String originalUnit;

    /** 人员类别 */
    @Excel(name = "人员类别")
    private Integer type;

    /** 待遇情况 */
    @Excel(name = "待遇情况")
    private Integer treatmentSituation;

    /** 孤老情况 */
    @Excel(name = "孤老情况")
    private String isLonely;

    /** 供养情况 */
    @Excel(name = "供养情况")
    private Integer supportSituation;

    /** 供养单位 */
    @Excel(name = "供养单位")
    private Integer supportUnit;

    @TableField(exist = false)
    private String soldierName;

    @TableField(exist = false)
    private String idCard;

}
